package com.gqzmy.springboot3.mapper.base;

import com.gqzmy.springboot3.config.MybatisCreateTime;
import com.gqzmy.springboot3.config.MybatisUpdateTime;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 周小哥  gqzmy@163.com 2023/4/20 21:23
 */

public class TableBase implements Serializable {

    @Serial
    private static final long serialVersionUID = -1777820793988381107L;

    /**
     * 创建时间
     */
    @MybatisCreateTime
    private LocalDateTime createDateTime;

    /**
     * 修改时间
     */
    @MybatisCreateTime
    @MybatisUpdateTime
    private LocalDateTime updateDateTime;

    /**
     * 创建人
     */
    private String createUserId;

    /**
     * 修改人
     */
    private String updateUserId;

    public LocalDateTime getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(LocalDateTime createDateTime) {
        this.createDateTime = createDateTime;
    }

    public LocalDateTime getUpdateDateTime() {
        return updateDateTime;
    }

    public void setUpdateDateTime(LocalDateTime updateDateTime) {
        this.updateDateTime = updateDateTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }
}
